package com.at7122.security_demo.mapper;

import com.at7122.security_demo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper //告诉spring Boot这是一个Mapper接口，扫描并将其注册为bean
//UserMapper 接口继承 BaseMapper<User>，这是 MyBatis-Plus 提供的基础接口，它已经封装了常见的 CRUD 操作
public interface UserMapper extends BaseMapper<User> {

}
